import os
import shutil

import pytest

if __name__ == '__main__':
    pytest.main()
    shutil.copy('./environment.xml', './report/temp')
    # 自动打开测试报告
    os.system('allure serve ./report/temp')
